package com.appkubes.fintech.admin.application.bill.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class RentBillLinesDTO {

    private String billLineKey;
    private String billKey;
    private Integer periodFineAmount;
    private Integer period;
    private Integer periodAmount;
    private Integer periodInterestAmount;
    private Integer unpayAmount;
    private Integer unpayInterestAmount;
    private Integer unpayFineAmount;
    private Integer breaksAmount;
    private Integer repayAmount;
    private Integer repayFineAmount;
    private Integer repayInterestAmount;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date periodStartDate;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date periodEndDate;
    private Integer overdueDays;
    private BigDecimal fineRate;
    private String status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date payTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    private String remark;

}
